From: Debian Rust Maintainers Date: Sat, 23 May 2020 21:38:56 +0000 (+0200) Subject: built-using X-Git-Tag: archive/raspbian/0.17.14-5+rpi1~1^2^2^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de//%22%22/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22%22?a=commitdiff_plain;h=0dcb29e7ab86e547c22a9a314f669d465eae0e45;p=rust-ring.git built-using Gbp-Pq: Name built-using.patch --- diff --git a/build.rs b/build.rs index c6cb3a7..d1292bc 100644 --- a/build.rs +++ b/build.rs @@ -248,6 +248,9 @@ const MSVC_OBJ_OPT: &str = "/Fo"; const MSVC_OBJ_EXT: &str = "obj"; fn main() { + println!("dh-cargo:deb-built-using=ring-core=0={}", std::env::var("CARGO_MANIFEST_DIR").unwrap()); + println!("dh-cargo:deb-built-using=ring-test=0={}", std::env::var("CARGO_MANIFEST_DIR").unwrap()); + if let Ok(package_name) = std::env::var("CARGO_PKG_NAME") { if package_name == "ring" { ring_build_rs_main();